//批量生成 按单元数 保存后回调方法
function unitCountSaveAfter(paramsObj){
	var reportguid=getComponentGuidById(paramsObj.pageid,paramsObj.reportid);
	var dataObjArr=WX_ALL_SAVEING_DATA[reportguid];//得到已保存的数据
	var buildId;
	var dataObjTmp; 
	  for (var i=0;i<dataObjArr.length;i++){ 
	    dataObjTmp=dataObjArr[i]; 
	    buildId = dataObjTmp.building_id
	  }
	  var url = "/pms/ShowReport.wx?PAGEID=houseManage&txtBuildId=" + buildId;
	  artDialog.open.origin.refreshComponent(url);
	  art.dialog.close();
}

//批量生成 按单元数 保存后回调方法
function unitSaveAfter(paramsObj){
	var reportguid=getComponentGuidById(paramsObj.pageid,paramsObj.reportid);
	var dataObjArr=WX_ALL_SAVEING_DATA[reportguid];//得到已保存的数据
	var buildId;
	var dataObjTmp; 
	  for (var i=0;i<dataObjArr.length;i++){ 
	    dataObjTmp=dataObjArr[i]; 
	    buildId = dataObjTmp.building_id
	  }
	  var url = "/pms/ShowReport.wx?PAGEID=houseManage&txtBuildId=" + buildId;
	  artDialog.open.origin.refreshComponent(url);
	  art.dialog.close();
}